import 'package:flutter/material.dart';

class InheritedProvider<T> extends InheritedWidget {

  const InheritedProvider({required this.data, required Widget child,Key? key}) : super(child: child,key: key);

  final T data;

  @override
  bool updateShouldNotify(InheritedProvider<T> oldWidget) {
    return true;
  }

}